import { Provide } from '@midwayjs/core';
import { ITaskOptions } from '../interface';

@Provide()
export class taskService {
  async getUser(task: ITaskOptions) {
    return {
      taskId: task.id,
    };
  }
}
